package web.base.user.model;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import web.base.user.dict.UserState;
import web.common.jdo.annotation.Entity;
import web.common.jdo.annotation.Id;

import java.time.LocalDateTime;

/**
 * @author Jin Zheng
 * @since 2022-01-03
 */
@Getter
@Setter
@NoArgsConstructor
@Entity(table = "base_user")
public class UserEntity {
	@Id
	private Integer id;
	private String mobile;
	private String name;
	private String password;
	private LocalDateTime registerTime;
	private LocalDateTime loginTime;
	private UserState state;

}
